<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
  <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.10/vue.js"></script>
</head>
<body>
<div id="app">
  <button @click="handler">修改数组数据</button>
  <ul>
    <li v-for="item in person">{{item}}</li>
  </ul>
</div>
<script>
  const vm = new Vue({
    el:"#app",
    data(){
      return{
        person:["小王","大王","老k","王中王"]
      }
    },
    methods:{
      handler() {
        this.person.push("1")
      }
    }
  })
</script>
</body>
</html>